﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Ctef.Web.Controllers
{
    public class ProgramsController : Controller
    {
        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult Index()
        {
            return RedirectToAction("SchoolRenovation");
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult SchoolRenovation()
        {
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult Sponsorship()
        {
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public RedirectToRouteResult SponsorshipRedirect()
        {
            return RedirectToAction("Sponsorship");
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult YouthDonor()
        {
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult TeacherAward()
        {
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult Library()
        {
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult MultiMediaClassroom()
        {
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult Letters()
        {
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Cache3Seconds")]
        public ActionResult EarthquakeRelief()
        {
            return View();
        }

        protected override void HandleUnknownAction(string actionName)
        {
            this.View("SchoolRenovation").ExecuteResult(this.ControllerContext);
        }
    }
}
